STEP 8: We'll use variables and dot notation to call sprites by name and assign actions.

We use dot notation to join a sprite's name with the action we want it to do.

  • Go to and drag out Move Left. Drop it at the bottom of your program.
  • Change the name before .move_left() to glorp.
  • Change the integer in the .move_left() command to 150.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)